<div class="wide form">

<?php //$form=$this->beginWidget('CActiveForm', array(
//	'action'=>Yii::app()->createUrl($this->route),
//	'method'=>'get',
        //'enctype'=>'multipart/form-data',
//)); ?>
<?php echo CHtml::form('','post',array('enctype'=>'multipart/form-data')); ?>
		<?php echo CHtml::activelabel($model,'title'); ?>
		<?php echo CHtml::activetextField($model,'title',array('size'=>60,'maxlength'=>100)); ?>

		<?php echo CHtml::activelabel($model,'image'); ?>
		<?php echo CHtml::activeFileField($model,'image'); ?>

        <div class="row buttons">
		<?php echo CHtml::submitButton('Upload'); ?>
	</div>

<?php // $this->endWidget(); ?>
<?php echo CHtml::endForm(); ?>
</div><!-- search-form -->